package com.study.gamecube.common;

import lombok.Data;

import java.io.Serializable;

@Data
public class R<T> implements Serializable {
    private T data;

    public static <T> R<T> serialize(T object){
        R<T> r = new R<T>();
        r.data = object;
        return r;
    }
}
